import { defHttp } from '/@/utils/http/axios';

enum Api {
    getAiModel = '/aiModelConfig/list',
    addAiModel = '/aiModelConfig/add',
    updateAiModel = '/aiModelConfig/edit',
    delAiModel = '/aiModelConfig/delete/',
    getModelCode = '/aiModelParam/list',
    addModelCode = '/aiModelParam/add',
    updateModelCode = '/aiModelParam/edit',
    delModelCode = '/aiModelParam/delete/',
    getModelConfig = '/aiApiConfig/list',
    addModelConfig = '/aiApiConfig/add',
}

/**
 * @description: Get sample options value
 */
export const getAlarmImage = (params?: Recordable) => defHttp.get<Recordable[]>({ url: Api.getAiModel, params });
